<?php

namespace app\index\model;

use think\Model;

class Goods extends Model
{
    public function pictures()
    {
        return $this->hasMany('Pictures', 'gid', 'id');
    }

    public function cla()
    {
        return $this->belongsTo('SecClassification', 'classification_id', 'id');
    }
}